package com.wzweb.entity;

import java.sql.ResultSet;

import com.wzweb.dao.util.DBParse;

public class CommentinfosParse implements DBParse {
	@Override
	public Object parseEntity(ResultSet rs)throws Exception {
		Commentinfos commentinfos=new Commentinfos();
		commentinfos.setCommentInfoID(rs.getInt("commentInfoID"));
		commentinfos.setVideoInfoID(rs.getInt("videoInfoID"));
		commentinfos.setUserID(rs.getInt("userID"));
		commentinfos.setContents(rs.getString("contents"));
		commentinfos.setAddTime(rs.getString("AddTime"));
		return commentinfos;
	}
}
